﻿using Super_Management_Mayhem.Content.Spritesheet;
using Transformable_Engine_v2.Engine.Animation.FrameAnimation;

namespace Super_Management_Mayhem.Content.Animations
{
    public class NewStar : FrameAnimationDescription
    {
        public NewStar()
        {
            IsLooping = true;
            AddFrame(0, new FrameDescription(MenuSheet.GetSprite(MenuSheet.NewIcon.Star0), 1));
            AddFrame(1, new FrameDescription(MenuSheet.GetSprite(MenuSheet.NewIcon.Star1), 2));
            AddFrame(2, new FrameDescription(MenuSheet.GetSprite(MenuSheet.NewIcon.Star2), 3));
            AddFrame(3, new FrameDescription(MenuSheet.GetSprite(MenuSheet.NewIcon.Star3), 4));
            AddFrame(4, new FrameDescription(MenuSheet.GetSprite(MenuSheet.NewIcon.Star4), 0));
            FrameRate = 10;
        }
    }
}